Amaya provides a multilingual spell checker. This tool is invoked by the
Spell Check command from the Edit menu. It
uses the LANG
attribute to select the right dictionary. You can
associate this attribute with any element in a document, even with a single
word. Use the Language command in the Attributes menu for that
purpose.
Before starting Amaya, the user can set the EXTENDDICT=
parameter in the registry file ($HOME/.thotrc file) which determines the name
of the personal dictionary used for all documents. By default this dictionary
is $HOME/.thot.DIC. Thus, the checker will use, in addition to the
dictionaries specific to the language, this dictionary (in read-write mode) to
control all documents.This dictionary is created and automatically updated by
the spelling checker when the commands ``Skip (+dic)'' and ``Replace (+dic)''
are issued (see below).
The Spell Check command in Edit menu displays a form which enables you to choose the correction parameters and to interact with the checker:
To start the correction, click on the Skip and next button bottom of the form. If an error has been found, the incorrect word is selected and highlighted in the document. If no error has been detected, the "Not found" message is displayed in the bottom right corner of the form.
The user can then use one of the buttons placed at the bottom of the form to perform one of the following operations:
Replace (+dic): it is the same as.Replace and next: except that the replacement word is added to the document dictionary.